home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Toolbox / Visual Basic Toolbox (P.I.E.)(1996).ISO / graphics / dimlib10 / form2.frm < prev    next >
Text File  |  1995-10-31  |  1KB  |  58 lines

  1. VERSION 2.00
  2. Begin Form Form2 
  3.    Caption         =   "A Typical Message"
  4.    ClientHeight    =   1410
  5.    ClientLeft      =   2415
  6.    ClientTop       =   2130
  7.    ClientWidth     =   3825
  8.    Height          =   1815
  9.    Left            =   2355
  10.    LinkTopic       =   "Form2"
  11.    ScaleHeight     =   1410
  12.    ScaleWidth      =   3825
  13.    Top             =   1785
  14.    Width           =   3945
  15.    Begin CommandButton Command2 
  16.       Caption         =   "No"
  17.       Height          =   495
  18.       Left            =   2460
  19.       TabIndex        =   2
  20.       Top             =   660
  21.       Width           =   1215
  22.    End
  23.    Begin CommandButton Command1 
  24.       Caption         =   "Yes"
  25.       Height          =   495
  26.       Left            =   2460
  27.       TabIndex        =   1
  28.       Top             =   120
  29.       Width           =   1215
  30.    End
  31.    Begin Label Label1 
  32.       Caption         =   "Are you going to be a registered DimLib user?"
  33.       Height          =   1155
  34.       Left            =   120
  35.       TabIndex        =   0
  36.       Top             =   120
  37.       Width           =   2175
  38.    End
  39. End
  40. Option Explicit
  41.  
  42. Sub Command1_Click ()
  43.     Dim i As Integer
  44.     i = DimWindow(HWnd)
  45.     MsgBox "Thanks!"
  46.     i = UnDimWindow(HWnd)
  47.     Unload Me
  48. End Sub
  49.  
  50. Sub Command2_Click ()
  51.     Dim i As Integer
  52.     i = DimWindow(HWnd)
  53.     MsgBox "Bummer!"
  54.     i = UnDimWindow(HWnd)
  55.     Unload Me
  56. End Sub
  57.  
  58.